HOWTO:

Upgrade your RedHat X.Y to Redhat Enterprise Linux 4 *

* (and avoid an unpleasant and costly clean system re-install)

V-1.0 George Beranek (630) 252-7219 beranek@anl.gov 16-Mar-2004

RedHat Linux 7.2 (and to a lesser extent 7.3) is a compatible upgrade candidate for Redhat Enterprise Linux 2.1 but Redhat Enterprise Linux 2.1 unfortunately does not provide for upgrades.
RedHat Linux 9.0 is a compatible upgrade candidate for Redhat Enterprise Linux 3.0 AND Redhat Enterprise Linux 3.0 DOES provide for upgrades.
So, to upgrade your RedHat X.Y to Redhat Enterprise Linux 3.0 * follow the following steps:
  1. If your RedHat system is not already at level 9.0 then upgrade it to 9.0 .
  2. Register your system at rhn.redhat.com as a 9.0 system using your RedHat Enterprise entitlement login with the `rhn_register` command.
  3. Fully update your RedHat 9.0 system using the `up2date` command. Your system should now be visible as "Fully Updated" at https://rhn.redhat.com.
  4. Make a BACKUP of AT LEAST /etc , /boot , and /lib AND make a boot floppy using the command `mkbootdisk --device /dev/fd0 `uname --kernel-release`` (just in case something goes wrong). This upgrade procedure is NOT guaranteed by RedHat.
  5. Boot from your Redhat Enterprise Linux 3.0 installation media. At the lilo prompt enter: linux upgradeany, and proceed with the upgrade install.
  6. After installation and reboot DO NOT proceed with registration! Check your machine's idea of its RedHat release with the command `rpm -q redhat-release`. You will see redhat-release-9-3.
  7. Remove this package using the command `rpm -e redhat-release-9-3`.
  8. Install the RedHat Enterprise 3.0 package using the command `rpm -Uvh redhat-release-3WS-1.i386.rpm`. This package can be found in the /RedHat/RPMS directory of binary CD #1 of the RedHat Ehterprise 3.0 distribution, or at the link I provided.
  9. NOW re-register your system at rhn.redhat.com as a Enterprise Linux 3.0 system using your RedHat Enterprise entitlement login with the `rhn_register` command.
  10. AND fully update your RedHat Enterprise 3.0 system using the `up2date` command. Your system should now be visible as "Fully Updated" at https://rhn.redhat.com.
Please feel free to contact me if I can be of further assistance. George Beranek (630) 252-7219 beranek@anl.gov
George Beranek, Red Hat Certified Engineer
This page has been accessed: times since Tue Mar 16 16:16:57 CST 2004.

This page last updated: Tue Mar 16 16:16:57 CST 2004 V-1.0

Debian Commands for Red Hat Users

From Inside Argonne Wiki

Jump to: navigation, search

Contents

[edit] Equivalent Commands:

[edit] Package Management Commands:

Package Management Commands
Command Red Hat Ubuntu (Debian)
Query All rpm -qa dpkg -la
Install rpm -ivh package.rpm dpkg -i package.deb
Net Install up2date -i package apt-get install package
List Files rpm -ql package or rpm -qlp package.rpm dpkg -L package or dpkg -c package.deb
Information rpm -qi package or rpm -qip package.rpm dpkg -p package or dpkg -I package.deb
Ownership rpm -qf /full/path/to/file dpkg -S /full/path/to/file

[edit] Runlevel Configurators:

Runlevel Configurators
Command Red Hat Ubuntu (Debian)
chkconfig update-rc.d
ntsysv sysv-rc-conf

[edit] generate an initramfs image:

initramfs generators
Command Red Hat Ubuntu (Debian)
mkinitrd -v image kernel-version update-initramfs -k all -u -v